package com.xc.hotelmgr.webapi.modules.op.service;

import com.xc.hotelmgr.webapi.modules.op.entity.DelGroupRpDto;
import com.xc.hotelmgr.webapi.modules.op.entity.FeignResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("datapusher-ali")
public interface AliFeignService {
    /**
     * 删除价格计划，前端删除自定义价格计划时，同步删除店铺上的自定义价格政策
     * @param delRpMQ
     * @return
     */
    @RequestMapping(value = "/rateplan/del_group_rp", method = RequestMethod.POST)
    FeignResult delGroupRp(@RequestBody DelGroupRpDto delRpMQ);
}
